package com.c.ctgproject.entity

class PartsSellListEntity {
    /**
     * status : 0
     * msg : null
     * data : {"total":2,"list":[{"carId":null,"doSellValue":null,"carCode":null,"enterTime":null,"carModel":null,"carVin":null,"partsName":"饿的","partsPrice":5,"partsNumber":5,"partsWeight":122,"ownerPlate":"豫B00000","outTime":null,"userName":null,"createPersonId":null},{"carId":null,"doSellValue":null,"carCode":null,"enterTime":null,"carModel":null,"carVin":null,"partsName":"你个大头鬼","partsPrice":2,"partsNumber":4,"partsWeight":6,"ownerPlate":"豫B00000","outTime":null,"userName":null,"createPersonId":null}],"pageNum":1,"pageSize":5,"size":2,"startRow":1,"endRow":2,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean {
        /**
         * total : 2
         * list : [{"carId":null,"doSellValue":null,"carCode":null,"enterTime":null,"carModel":null,"carVin":null,"partsName":"饿的","partsPrice":5,"partsNumber":5,"partsWeight":122,"ownerPlate":"豫B00000","outTime":null,"userName":null,"createPersonId":null},{"carId":null,"doSellValue":null,"carCode":null,"enterTime":null,"carModel":null,"carVin":null,"partsName":"你个大头鬼","partsPrice":2,"partsNumber":4,"partsWeight":6,"ownerPlate":"豫B00000","outTime":null,"userName":null,"createPersonId":null}]
         * pageNum : 1
         * pageSize : 5
         * size : 2
         * startRow : 1
         * endRow : 2
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null

        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean {
            /**
             * carId : null
             * doSellValue : null
             * carCode : null
             * enterTime : null
             * carModel : null
             * carVin : null
             * partsName : 饿的
             * partsPrice : 5.0
             * partsNumber : 5
             * partsWeight : 122.0
             * ownerPlate : 豫B00000
             * outTime : null
             * userName : null
             * createPersonId : null
             */
            var carId: Any? = null
            var doSellValue: Any? = null
            var carCode: Any? = null
            var enterTime: Any? = null
            var carModel: Any? = null
            var carVin: Any? = null
            var partsName: String? = null
            var partsPrice = 0.0
            var partsNumber = 0
            var partsWeight = 0.0
            var ownerPlate: String? = null
            var outTime: Any? = null
            var userName: Any? = null
            var createPersonId: Any? = null

        }
    }
}